<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Userid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userId" class="form-control" name="row[userId]" type="text" value="{$row.userId|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Epaycode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-epayCode" class="form-control" name="row[epayCode]" type="text" value="{$row.epayCode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchantid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchantId" class="form-control" name="row[merchantId]" type="text" value="{$row.merchantId|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Traceno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-traceNo" class="form-control" name="row[traceNo]" type="text" value="{$row.traceNo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Totalamt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalAmt" data-rule="required" class="form-control" step="0.01" name="row[totalAmt]" type="number" value="{$row.totalAmt|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transDate" class="form-control" name="row[transDate]" type="text" value="{$row.transDate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Times')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-times" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[times]" type="text" value="{$row.times}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Channel')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-channel" data-rule="required" class="form-control selectpicker" name="row[channel]">
                {foreach name="channelList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.channel"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Grade')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-grade" class="form-control" name="row[grade]" type="text" value="{$row.grade|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Classname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-classname" class="form-control" name="row[classname]" type="text" value="{$row.classname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mete')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mete" class="form-control" name="row[mete]" type="text" value="{$row.mete|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('School')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-school" class="form-control" name="row[school]" type="text" value="{$row.school|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Studenntid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studenntid" class="form-control" name="row[studenntid]" type="text" value="{$row.studenntid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transCode" class="form-control" name="row[transCode]" type="text" value="{$row.transCode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transseqnum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transSeqNum" class="form-control" name="row[transSeqNum]" type="text" value="{$row.transSeqNum|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Timestamp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-timeStamp" class="form-control" name="row[timeStamp]" type="text" value="{$row.timeStamp|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Branchcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-branchCode" class="form-control" name="row[branchCode]" type="text" value="{$row.branchCode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Input1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-input1" class="form-control" name="row[input1]" type="text" value="{$row.input1|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Input2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-input2" class="form-control" name="row[input2]" type="text" value="{$row.input2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Input3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-input3" class="form-control" name="row[input3]" type="text" value="{$row.input3|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Input4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-input4" class="form-control" name="row[input4]" type="text" value="{$row.input4|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Input5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-input5" class="form-control" name="row[input5]" type="text" value="{$row.input5|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Flagdelete')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-flagDelete" class="form-control" name="row[flagDelete]" type="number" value="{$row.flagDelete|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
